package com.fq.modules.sys.user.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serial;
import java.io.Serializable;

/**
 * @Author 超chao
 * @Description 手机号登录请求类
 * @Date 2025/2/5/周三 9:44
 * @Version 1.0
 */
@Data
@ApiModel(value="手机号登录请求类", description="手机号登录请求类")
public class MobileLoginDTO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "手机号码", required=true)
    @NotBlank(message = "手机号码不能为空")
    private String mobile;

    @ApiModelProperty(value = "短信验证码（测试码000000）", required=true)
    @NotBlank(message = "短信验证码不能为空")
    private String smsCode;

}